package com.cropdoctor.model.dto;

import com.baomidou.mybatisplus.annotation.TableName;
import com.cropdoctor.model.po.HistoryImgDisPo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import net.sf.jsqlparser.expression.DateTimeLiteralExpression;

import java.time.LocalDateTime;
import java.util.List;

@ApiModel(value = "HistoryImgDisDTO",description = "病虫害识别历史数据Dto")
@Data
public class HistoryImgDisDto {
    @ApiModelProperty(value = "置信度数组",required = true,example = "[\"0.79269975\",\"0.07501851\",\"0.044164397\",\"0.042546786\",\"0.03617501\",\"0.009395564\"]")
    List<String> confidences;

    @ApiModelProperty(value = "对应病虫害分类名称数组",required = true,example = "[\"健康玉米\",\"玉米一般性灰斑病\",\"玉米花叶病毒病\",\"玉米一般性锈病\",\"玉米严重性锈病\",\"玉米严重性灰斑病\"]")
    List<String> classifications;

    @ApiModelProperty(value = "查询对应的时间",required = true,example = "2024-01-28 16:04:45")
    LocalDateTime createDateTime;

    @ApiModelProperty(value = "图片地址",required = true)
    String url;

    Long idH;
}
